package com.singzi.designPattern.agentModel;

public class Main {
    public static void main(String[] args) {
        SchoolGirl schoolGirl = new SchoolGirl();
        schoolGirl.setName("娇娇");

        ProxyGive proxyGive = new ProxyGive(schoolGirl);
        proxyGive.GiveDolls();
        proxyGive.GiveFlowers();
        proxyGive.GiveChocolate();
    }
}
